package com.aspose.cells;

class zcdz extends zcdb {
   zcdz(ListObject var1) throws Exception {
      this.d = 513;
      int var2 = 6;
      if (var1.getTableStyleName() != null) {
         var2 += var1.getTableStyleName().length() * 2;
      }

      this.c = new byte[var2];
      byte var3 = 0;
      if (var1.getShowTableStyleFirstColumn()) {
         var3 = (byte)(var3 | 1);
      }

      if (var1.getShowTableStyleLastColumn()) {
         var3 = (byte)(var3 | 2);
      }

      if (var1.getShowTableStyleRowStripes()) {
         var3 = (byte)(var3 | 4);
      }

      if (var1.getShowTableStyleColumnStripes()) {
         var3 = (byte)(var3 | 8);
      }

      this.c[0] = var3;
      byte var4 = 2;
      if (var1.getTableStyleName() != null) {
         zcch.a(this.c, var4, var1.getTableStyleName());
      }

   }
}
